package com.ruoyi.project.tj.service;

import com.ruoyi.project.tj.domain.TjOperationSummary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ITjOperationSummaryService {
    /**
     * 查询店铺操作汇总信息
     * @param summary
     * @return
     */
    List<TjOperationSummary> selectOperationSummary(TjOperationSummary summary);

    /**
     * 查询店铺操作汇总信息详情
     * @param id
     * @return
     */
    TjOperationSummary selectOperationSummaryById(@Param("id") String id);

    int checkOperationSummary(String month, String customId);

    /**
     * 新增汇总信息
     * @param summary
     * @return
     */
    int insertOperationSummary(TjOperationSummary summary);

    /**
     * 修改汇总信息
     * @param summary
     * @return
     */
    int updateOperationSummary(TjOperationSummary summary);

    /**
     * 删除汇总信息
     * @param summary
     * @return
     */
    int deleteOperationSummary(String id);
}
